package cn.texous.demo.dmqs.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * insert description here
 *
 * @author Showa.L
 * @since 2019/8/6 14:56
 */
@Data
@Component
@ConfigurationProperties(prefix = "nsq")
public class NsqConfig {

    private String host;
    private Integer producerPort;
    private Integer consumerPort;
    private String consumerChannel;
    private Map<String, List<String>> tpinfos;

}
